package com.ynwt.model.ycoin;

import com.alibaba.fastjson.annotation.JSONField;
import com.ynwt.model.BaseModel;

/**
 * Created by huangying on 2017/5/4.
 */
public class RegRequest extends BaseModel {

    private String type;

    private String unionid;

    private String openid;

    private long ycoin;

    private String nickname;

    private int sex;

    @JSONField(name = "head_img_url")
    private String headImgUrl;

    private String city;

    private String country;

    private String province;

    @JSONField(name = "reg_time")
    private long regTime;

    public RegRequest() {
    }

    public RegRequest(String unionid) {
        this.unionid = unionid;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getUnionid() {
        return unionid;
    }

    public void setUnionid(String unionid) {
        this.unionid = unionid;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public long getYcoin() {
        return ycoin;
    }

    public void setYcoin(long ycoin) {
        this.ycoin = ycoin;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getHeadImgUrl() {
        return headImgUrl;
    }

    public void setHeadImgUrl(String headImgUrl) {
        this.headImgUrl = headImgUrl;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public long getRegTime() {
        return regTime;
    }

    public void setRegTime(long regTime) {
        this.regTime = regTime;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }
}
